<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>公司黑名单</title>
<!-- 导入主题样式 -->
<!-- <link rel="stylesheet" href="public/easyui/themes/default/easyui.css" /> -->
<link rel="stylesheet"
	href="public/easyui/themes/bootstrap/insdep/easyui.css" />
<!-- 导入图标库 -->
<!-- <link rel="stylesheet" href="public/easyui/themes/icon.css" /> -->
<link rel="stylesheet"
	href="public/easyui/themes/bootstrap/insdep/icon.css" />
<link rel="stylesheet" href="public/css/app.css" />
<!-- js文件，顺序：jq，easyui，国际化包 -->
<script src="public/js/jquery.min.js"></script>
<script src="public/easyui/jquery.easyui.min.js"></script>
<script src="public/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="public/js/black.js"></script>
</head>
<body class="easyui-layout">
	<div border="false" data-options="region:'center'"
		style="padding: 5px; background: #eee;">
		<div id="toolbar" style="padding: 5px;">
			<form id="searchForm">
			公司名称：<input id="company" name="company" class="easyui-textbox" style="width: 172px;display: none;">
			<a id="listSearch" onclick="listSearch()" iconCls="icon-search" class="easyui-linkbutton">检索</a>
			<a id="listReset" onclick="listReset()" iconCls="icon-reload" class="easyui-linkbutton">重置</a>
			<input type="hidden" value="${user.emp.id }">
			<c:if test="${not empty user.emp.id }">
				<a onclick="saveblack()" class="easyui-linkbutton" style="float: right;margin-right: 10px;">添加公司黑名单</a>
			</c:if>
		</form>
		</div>
		<table id="Blacklist" class="easyui-datagrid" 
			data-options="url:'interview/black',fit:true,rownumbers:true,pagination:true,singleSelect:true,toolbar:'#toolbar'">
			<thead>
				<tr>
					<th data-options="field:'company',width:300">公司名称</th>
					<th data-options="field:'reason',width:450">备注</th>
				</tr>
			</thead>
		</table>
	</div>
</body>
</html>